package com.maoyanjava.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.maoyanjava.pojo.Seat;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface SeatMapper extends BaseMapper {
    public List<Seat> getAllByPid(int pid);
    public int updateSeat1(@Param("no")Integer no, @Param("pid") Integer pid);
    public int updateSeat0(@Param("no")Integer no,@Param("pid") Integer pid);
    public int updateSeat2();
}
